package net.zdreamer.shunyi.utils.ListUtils;

import net.zdreamer.shunyi.R;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created by Admin on 2015/1/5.
 */
public class GuangChangInfos implements Serializable {
    public List<GuangChangInfo> guangChangInfos = new ArrayList<GuangChangInfo>();

    public GuangChangInfos() {
        GuangChangInfo guangChangInfo = new GuangChangInfo();
        for (int i = 0; i < 3; i++) {
            HashMap<String, Integer> map = new HashMap<String, Integer>();
            map.put("photo", R.drawable.guangchangphoto);
            guangChangInfo.photoimage.add(map);
            HashMap<String, Integer> datumap = new HashMap<String, Integer>();
            datumap.put("picture", R.drawable.guangchangimg);
            guangChangInfo.picture.add(datumap);
            guangChangInfo.name = "皮卡丘就是我";
            guangChangInfo.address = "顺义";
            guangChangInfo.time = "三天前";
            guangChangInfo.titlename = "#兴趣爱好#";
            guangChangInfo.textconent = "全国各地都有吃辣的偏好，有人说四川爱麻辣，其实还有一种味道四川人也爱，就是甜辣";
            guangChangInfos.add(guangChangInfo);
        }


    }

    public class GuangChangInfo {
        public List<HashMap<String, Integer>> photoimage = new ArrayList<HashMap<String, Integer>>();
        public List<HashMap<String, Integer>> picture = new ArrayList<HashMap<String, Integer>>();
        public String name, time, address, titlename, textconent;

    }
}
